package org.linlinjava.litemall.db.vo.order_manage;

import org.linlinjava.litemall.db.domain.AgedmallHospitalSendStoreAttribute;
import org.linlinjava.litemall.db.domain.AgedmallStore;

public class BackendStoreListVo {
    private String id;
    private String storeName;
    private String address;
    private String userName;
    private String phone;
    private String businessTime;
    private Integer workWeek;
    private String sendType;

    public BackendStoreListVo(String id, String storeName, String address, String userName, String phone, String businessTime, Integer workWeek) {
        this.id = id;
        this.storeName = storeName;
        this.address = address;
        this.userName = userName;
        this.phone = phone;
        this.businessTime = businessTime;
        this.workWeek = workWeek;
    }

    public BackendStoreListVo(AgedmallStore agedmallStore) {
        this.id = agedmallStore.getId().toString();
        this.storeName = agedmallStore.getStoreName();
        this.address = agedmallStore.getAddressDetail();
        this.userName = agedmallStore.getUserName();
        this.phone = agedmallStore.getPhone();
        this.businessTime = agedmallStore.getBusinessTime();
        this.workWeek = agedmallStore.getWorkWeek();
    }
    public BackendStoreListVo(AgedmallStore agedmallStore, AgedmallHospitalSendStoreAttribute storeAttribute) {
        this.id = agedmallStore.getId().toString();
        this.storeName = agedmallStore.getStoreName();
        this.address = agedmallStore.getAddressDetail();
        this.userName = agedmallStore.getUserName();
        this.phone = agedmallStore.getPhone();
        this.businessTime = agedmallStore.getBusinessTime();
        this.workWeek = agedmallStore.getWorkWeek();
        this.sendType = storeAttribute.getSendType();
    }

    public BackendStoreListVo() {
    }

    public String getSendType() {
        return sendType;
    }

    public void setSendType(String sendType) {
        this.sendType = sendType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBusinessTime() {
        return businessTime;
    }

    public void setBusinessTime(String businessTime) {
        this.businessTime = businessTime;
    }

    public Integer getWorkWeek() {
        return workWeek;
    }

    public void setWorkWeek(Integer workWeek) {
        this.workWeek = workWeek;
    }
}
